package cn.mw.cmdb.virtualization.param;

import cn.mw.microMonitorCommon.entity.alertDto.BaseParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author gengjb
 * @description 虚拟化参数信息
 */
@Getter
@Setter
@Schema(name = "VirtualizationParam", description = "虚拟化参数信息")
public class VirtualizationParam extends BaseParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "引擎ID")
    private String engineId;

    @Schema(description = "实例ID")
    private String instanceId;

    @Schema(description = "服务ID")
    private Integer serverId;

    @Schema(description = "数据ID")
    private String dataId;

    @Schema(description = "类型")
    private String vmType;

    @Schema(description = "实例ID集合")
    private List<String> instanceIds;

    @Schema(description = "查询类型")
    private String queryType;

    @Schema(description = "实例名称")
    private String instanceName;

    @Schema(description = "IP地址")
    private String ipAddress;

    @Schema(description = "监控指标")
    private List<String> itemNames;

    @Schema(description = "开始时间")
    private String startTime;

    @Schema(description = "结束时间")
    private String endTime;

    @Schema(description = "时间类型")
    private Integer dateType;

    @Schema(description = "取值类型")
    private String valueType;

    @Schema(description = "同步")
    private Boolean syncFlag;

    private List<Long> groups;

    private List<Long> users;

    private List<Long> orgIds;

    private List<List<Long>> orgs;

}
